package cn.school.classManage.dao;

import cn.school.classManage.vo.ClassTeacherRelationVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: ClassTeacherRelationDao
 * @author: Alex
 * @date: 2023/8/3
 **/
@Mapper
public interface ClassTeacherRelationDao extends BaseMapper<ClassTeacherRelationVo> {
    List<ClassTeacherRelationVo> selectClassTeacher(@Param("userId")String userId);

    List<ClassTeacherRelationVo> selectTeacherSubj(@Param("userId")String userId,@Param("classId")String classId);


    List<ClassTeacherRelationVo> selectAll(@Param("userId")String userId);
}
